package org.example.entity.system;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description
 * @Author 魏锴
 * @Date 2024/1/11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PermOption {//返回边框栏时用的数据
    private String title;
    private String url;
    private String icon_url;

    public PermOption(Permission p) {
        this(p.getTitle(), p.getUrl(), p.getIconUrl());
    }
}
